package com.crealth.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.crealth.model.KnowledgePledgetLoanModel;


public abstract interface KnowledgePledgetLoanMapper {
	
    public abstract void insertKnowledgePledgetLoan(KnowledgePledgetLoanModel pledgetKnowledge);
    
    public abstract List<KnowledgePledgetLoanModel> selectAllKnowledgePledgetLoan();
    
    public abstract List<KnowledgePledgetLoanModel> selectCityNameKnowledgePledgetLoan(@Param("cityName")String cityName);
    
    public abstract KnowledgePledgetLoanModel selectKnowledgePledgetLoanByName(
    		@Param("name")String name);
    
    public abstract Integer updateKnowledgePledgetLoanByID(KnowledgePledgetLoanModel pledgetKnowledge);
    
    public abstract Integer deletePledgetKnowledgeByID(
    		@Param("id")int id);
        
}
